<?php
/* @var $this BackendController */
/* @var $dataProvider CActiveDataProvider */

$this->breadcrumbs=array(
	Yii::t('UserModule.base','Users'),
);

$this->menu=array(
    array('label'=>'<span class="glyphicon glyphicon-user"></span>&nbsp'.Yii::t('UserModule.base','Manage Users'), 'url'=>array('/user/backend/admin')),
    array('label'=>'<span class="glyphicon glyphicon-plus"></span>&nbsp'.Yii::t('UserModule.base','Create User'), 'url'=>array('/user/backend/create')),
    array('label'=>'<span class="glyphicon glyphicon-list"></span>&nbsp'.Yii::t('UserModule.base','List Users'), 'url'=>array('/user/backend/index')),

);
?>
<div class="panel panel-default">
    <div class="panel-heading">
        <span class="h4"><?php echo Yii::t('UserModule.base','Users')?></span>
    </div>

    <div class="panel-body">
    <?php $this->widget('zii.widgets.CListView', array(
        'ajaxUpdate'=>true,
	    'dataProvider'=>$dataProvider,
	    'itemView'=>'_view',
        'pager'=>array('cssFile'=>false)//отключаем css пэйджера по умолчанию т.к применяем twitter bootstrap
    ));?>
    </div>
</div>